<include file="header" />
<div class="wraper nearby-branch-detail-wrap">
    <div class="load">
        <img class="load-bee" src="/assets/base/laundry/images/load-bee.png">

    </div>
	<div class="head clearfix">
		<a href="javascript:history.back();" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">网点详情</span>
		<a href="{BEESCRM::U('/Base/laundry/index',array('laundryId'=>$laundryId))}" class="iconfont icon-shouye pull-left text-right"></a>
	</div>
	<div class="branch-lists">
		<div class="branch-table">
			<div class="branch-col">
				<span class="iconfont icon-xiyiji"></span>
			</div>
			<div class="branch-col">
				<div class="branch-distance">
					可供洗衣设备：{BEESCRM:$data.count}台
				</div>
				<div class="branch-num">
					当前空闲：{BEESCRM:$data.over_count}台
				</div>
			</div>
		</div>
	</div>
	<div class="branch-lists">
		<div class="branch-table">
			<div class="branch-col">
				<span class="iconfont icon-location"></span>
			</div>
			<div class="branch-col">
				<div class="branch-distance">
					距离{BEESCRM:$data.distance}公里
				</div>
				<div class="branch-num">
					地址：{BEESCRM:$data.address}
				</div>
			</div>
		</div>
	</div>
	<if condition="$list neq null">
	<div class="branch-lists">
		<div class="branch-table">
			<div class="branch-col">
				<span class="iconfont icon-shijian"></span>
			</div>
			<div class="branch-col">
				<volist name="list" id="vo">
				<div class="branch-distance">
					线下编号：{BEESCRM:$vo.num}　　结束时间：{BEESCRM:$vo.end_time|date='H点i分',###}
				</div>
				</volist>
			</div>
		</div>
	</div>
	</if>
	<div class="branch-lists">
		<div class="branch-table" id="go_map">
			<div class="branch-col">
				<span class="iconfont icon-fangxiang"></span>
			</div>
			<div class="branch-col">
				<div class="branch-distance">
					带我去
				</div>
			</div>
			<a class="branch-col" href="#">
				<div class="branch-detail iconfont">&#xe602;</div>
			</a>
		</div>
	</div>

	<div class="tariff">
		<span class="tariff-tag">收费详情</span>
		<p>{BEESCRM:$data.min_recharge}元/{BEESCRM:$data.min_charge_hour}小时（{BEESCRM:$data.min_charge_minute}分钟）</p>
	</div>
	<div class="bottom-box">
		<p class="copyright">杭州青橄榄网络技术有限公司 技术支持</p>
	</div>
</div>
<include file="commonJS" />
<include file="share_header" />
<script>
	var height = $(document).height();
	var bottombox_height = $('.bottom-box').outerHeight();
	$('.wraper').css("minHeight",height);
	$('.wraper').css("paddingBottom",bottombox_height);


	$(function(){
		var height = $(document).height();
		var height_head = $('.head').outerHeight();
		var contain_h = height - height_head;
		$('.logistics').css("minHeight",contain_h);
	});

	$(window).load(function(){
		$('.load').hide();
	});
	$(document).on('click','#go_map',function(){
		wx.openLocation({
		    latitude: {BEESCRM:$tencent['lat']}, // 纬度，浮点数，范围为90 ~ -90
		    longitude: {BEESCRM:$tencent['lng']}, // 经度，浮点数，范围为180 ~ -180。
		    name: "{BEESCRM:$data.address}", // 位置名
		    address: '{BEESCRM:$data.address}', // 地址详情说明
		    scale: 28, // 地图缩放级别,整形值,范围从1~28。默认为最大
		    infoUrl: '' // 在查看位置界面底部显示的超链接,可点击跳转
		});
	});
</script>
</body>
</html>